Update Directus SDK examples (support for extensions)#68
Open
kheiner wants to merge 2 commits into
Open
Conversation
Contributor
Author
|
The PR that this depended on was merged successfully. Would you like me to resolve the conflicts and make noise for a merge here? I have a grandiose vision that I can make some tweaks to the @directus/specs package that will make this entire repo obsolete but until then I'm having fun trying to help keep it up to date. |
… specs This is a companion to SDK PR review (directus/directus#27314): - GET /extensions/registry/account/{id} => readRegistryAccount(id) - GET /extensions/registry/extension/{id} => readRegistryExtension(id)
kheiner
force-pushed
the
fix/sdk-support-extensions
branch
from
July 24, 2026 13:56
49fc31e to
80357c3
Compare
Contributor
Author
|
@bryantgillespie I'm working through some of my older PRs and purging. This one is a valid correction to the OpenAPI spec now that directus/directus#27314 is merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR assumes #66 is going to be merged, it made more sense to build from a branch that didn't need me to recreate fixes already made.
Adds Directus SDK code examples to the six extension endpoints that previously showed
// Not supported in Directus SDK.Changes
PATCH /extensions/{id}:updateExtension(id, data)DELETE /extensions/{id}:deleteExtension(id)GET /extensions/registry:readRegistryExtensions(query?)POST /extensions/registry/install:installRegistryExtension(id, version)POST /extensions/registry/reinstall:reinstallRegistryExtension(id)DELETE /extensions/registry/uninstall/{id}:uninstallRegistryExtension(id)Related
Companion to directus/directus#27310, directus/directus#27311, directus/directus#27312 will add these SDK commands to
@directus/sdkif merged.P.S. I can't put labels, but this is 'future release' or whatever equivalent is for pending review on the monorepo.